package com.apexsoft.aas.service.model;

import java.io.Serializable;
import java.util.Map;

/**
 * Class  文件信息
 *
 * @author lowezheng
 * @version 1.0.0, 19/01/30
 */
public class DownloadFileInfo implements Serializable {
    /**
     * Field  状态码
     * <p>
     * >0 ,成功
     * <0 ,失败
     */
    private Integer code;

    /**
     * Field  响应说明
     */
    private String note;

    /**
     * Field  文件名
     */
    private String fileName;

    /**
     * Field  文件大小
     */
    private Long fileLength;
    /**
     * Field  结果对象
     */
    private Map<String, Object> params;
    /**
     * Field  错误码
     */
    private Integer errcode;

    /**
     * Field  耗时(毫秒)
     */
    private String duration;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Long getFileLength() {
        return fileLength;
    }

    public void setFileLength(Long fileLength) {
        this.fileLength = fileLength;
    }

    public Map<String, Object> getParams() {
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }

    public Integer getErrcode() {
        return errcode;
    }

    public void setErrcode(Integer errcode) {
        this.errcode = errcode;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }
}

